package com.scuec.groupfive.service.impl;

import com.scuec.groupfive.mapper.SubjectFinishedMapper;
import com.scuec.groupfive.service.SubjectFinishedService;
import com.scuec.groupfive.vo.SubjectFinishedVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SubjectFinishedServiceImpl implements SubjectFinishedService {

    @Autowired
    private SubjectFinishedMapper subjectFinishedMapper;

    @Override
    public List<SubjectFinishedVO> getSubjectFinishedInfo(Integer userId) {
        return subjectFinishedMapper.getSubjectFinishedInfo(userId);
    }
}